#include<bits/stdc++.h>
using namespace std;

const int N=1e5+10;

int n;
int r[N];


int main(){
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    cin>>n;
    for(int i=1;i<=n;i++)
        cin>>r[i];

    int a[N];


    for(int i=1;i<=n;i++){
        for(int j=1;j<=n;j++){
            if(r[j]==r[i]) a[i]++;
        }
    }

    for(int i=1;i<n;i++)
        a[i+1]=max(a[i],a[i+1]);

    cout<<a[n];

    return 0;
}
